import Vue from 'vue'
import router from './router/router'
import VueLazyload from "vue-lazyload";

import './axios'
import './mock/api'

import App from './App.vue'
// import env from './env'

// // mock 开关
// const mock = true
// if(mock){
//   require('./mock/api')
// }

//懒加载
Vue.use(VueLazyload,{
  loading: '/imgs/loading-svg/loading-bars.svg'
})

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
